# -*- coding:utf-8 -*-
class Solution:
    def rectCover(self, number):
        ## 注意所有的边界，比如这个0
        if number == 0:
            return 0
        
        if number == 1:
            return 1
        
        if number == 2:
            return 2
        
        if number > 2:
            num_1 = 1
            num_2 = 2
            for i in range(number-2):
                temp = num_2
                num_2 = num_2 + num_1
                num_1 = temp
            return num_2
        # write code here